package com.zhaoyang.model;

/**
 * @author 赵扬
 * @time 2020/4/27 10:06
 * 考勤JavaBean
 */
public class Attendance {

    private int id;
    private int courseId;
    private int studentId;
    private String type;
    private String date; // TODO >> 将Date 修改为 String

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Attendance{" +
                "id=" + id +
                ", courseId=" + courseId +
                ", studentId=" + studentId +
                ", type='" + type + '\'' +
                ", date=" + date +
                '}';
    }
}
